package com.project.service;

import com.project.bean.ProductBean;

import java.time.LocalDate;
import java.util.List;

/**
 * @Title: IProductService
 * @Package: com.project.service
 * @Description:
 * @Author: Liang-Xie
 * @Date: 2022/7/14 - 17:03
 */
@SuppressWarnings("all")
public interface IProductService {
    public void add(ProductBean productBean);
    public void del(Integer id);
    public void update(Integer id,Integer price);
    public List<ProductBean>findAll();
    public ProductBean findById(Integer id);
    public List<ProductBean>findByItem(String name, LocalDate startDate,LocalDate endDate);
}
